﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Signup.aspx.cs" Inherits="WebApplication1.Signup" MasterPageFile="~/masterpage/Main.Master" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">

    <%--Begin Loading ajax section--%>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
        <ProgressTemplate>
            <div style="position: fixed; text-align: center; height: 100%; width: 100%; top: 0; right: 0; left: 0; z-index: 9999999; background-color: #000000; opacity: 0.7;">
                <div class="center">

                    <img alt="" src="images/loading.gif" />
                </div>
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
    <%--End Loading ajax section--%>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div class="container-fluid">

                <fieldset>
                    <legend>Registration Form</legend>

                    <!-- Alert Message -->
                    <asp:Panel ID="divMessage" runat="server" Visible="False" role="alert">
                        <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                        <asp:Label ID="lblMessage" runat="server" Text="">
                         
                        </asp:Label>
                    </asp:Panel>
                    <div class="control-group">
                        <label class="control-label">Name:</label>
                        <div class="controls">
                            <%--<input type="text" id="WWID" name="WWID" class="form-control">--%>
                            <asp:TextBox ID="txtName" runat="server" class="form-control" ToolTip="Username (max lenght: 30)" MaxLength="31"></asp:TextBox>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">WWID:</label>
                        <div class="controls">
                            <%--<input type="text" id="WWID" name="WWID" class="form-control">--%>
                            <asp:TextBox ID="txtWWID" runat="server" class="form-control" ToolTip="Password (max lenght = 30)" MaxLength="31"></asp:TextBox>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">Phone:</label>
                        <div class="controls">
                            <%--<input type="text" id="WWID" name="WWID" class="form-control">--%>
                            <asp:TextBox ID="txtPhone" runat="server" class="form-control" MaxLength="20" ToolTip="Phone number"></asp:TextBox>
                        </div>
                    </div>

                    <div class="control-group">
                        <label class="control-label">Password:</label>
                        <div class="controls">
                            <asp:TextBox runat="server" type="Password" ID="txtPassword" name="password" class="form-control" MaxLength="31" ToolTip="Password (max length=30)"></asp:TextBox>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">Retype Password:</label>
                        <div class="controls">
                            <asp:TextBox runat="server" type="Password" ID="txtRetypePassword" name="password2" class="form-control" ToolTip="Retype password" MaxLength="31"></asp:TextBox>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">Email</label>
                        <div class="controls">
                            <asp:TextBox runat="server" ID="txtEmail" name="email" class="form-control" ToolTip="Email" MaxLength="100"></asp:TextBox>
                        </div>
                    </div>
                    <label class="control-label">Cafe Site:</label>

                    <div class="controls">
                        <asp:DropDownList ID="dropdownSite" runat="server" class="form-control"></asp:DropDownList>
                    </div>
                    <div class="control-group">
                        <label class="control-label"></label>
                        <div class="controls">

                            <asp:Button ID="btnSubmit" runat="server" class="btn  btn-primary" Text="Submit" OnClick="btnSubmit_Click" />
                        </div>
                    </div>
                </fieldset>

            </div>
        </ContentTemplate>
    </asp:UpdatePanel>


</asp:Content>

